Adifor: a Fortran System for Portable Automatic Differentiation
نویسندگان
چکیده
Automatic diierentiation provides the foundation for sensitivity analysis and subsequent design optimization of complex systems by reliably computing derivatives of large computer codes, with the potential of doing it many times faster compared to current approaches. This paper describes the ADIFOR (Automatic DIIerentiation of FORtran) system, a translator that augments Fortran programs with statements for the computation of derivatives. ADIFOR accepts arbitrary Fortran 77 code deening the computation of a function and writes portable Fortran 77 code for the computation of its derivatives. Our goal is to free the computational scientist from worrying about the accurate and eecient computation of derivatives, even for complicated \functions", thereby enabling him to concentrate on the more important issues of system model-ing and algorithm design. This paper gives an overview of the principles underlying the ADIFOR system, and comments on the power of automatic diierentiation for computing derivatives of implicitly-deened functions.
منابع مشابه
Adifor Working Note #5: Adifor: Automatic Diierentiation in a Source Translator Environment Adifor: Automatic Diierentiation in a Source Translator Environment
The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation tool that accepts Fortran 77 code for the computation of a function and writes portable Fortran 77 code for the computation of the derivatives. In contrast to previous appro...
متن کاملADIFOR - Generating Derivative Codes form Fortran Programs
The numerical methods employed in the solution of many scientiic computing problems require the computation of derivatives of a function f : R n ! R m. Both the accuracy and the computationalrequirements of the derivativecomputation are usually of critical importance for the robustness and speed of the numerical solution. ADIFOR (Automatic Diierentiation In FORtran) is a source transformation t...
متن کاملADIFOR Generating Derivative Codes from Fortran Programs
The numericalmethods employed in the solution of many scienti c computing problems require the computation of derivatives of a function f R R Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution ADIFOR Automatic Di erentiation In FORtran is a source transformation tool that ac...
متن کاملOn the Automatic Differentiation of Computer Programs
-4utomatic differentiation (AD) is a methodology for developing sensitivity-enhanced versions of arbitrary computer programs. In this paper, we provide some background information on AD and address some frequently asked questions. We introduce the ADIFOR and ADIC tools for the automatic differentiation of Fortran 77 and ANSI-C programs, respectively, and give an example of applying ADIFOR in th...
متن کاملApplication of Automatic Differentiation to Reservoir Design Models
Automatic differentiation is a technique for computing derivatives accurately and efficiently with minimal human effort. The calculation of derivatives of numerical models is necessary for gradient based optimization of reservoir systems to determine optimal sizes for reservoirs. We report on the use of automatic differentiation and divided difference approaches for computing derivatives for a ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1992